package cn.wolfcode.controller;


import cn.wolfcode.domain.User;
import cn.wolfcode.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class UserController {
    @Autowired
    private IUserService userService;


    @RequestMapping("/save")
    public String save(User user){
        return "redirect:indext.jsp";

    }
}
